<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>老年人健康档案服务平台</title>
    <link href="https://cdn.jsdelivr.net/npm/remixicon@2.5.0/fonts/remixicon.css" rel="stylesheet">
    <link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}">
</head>
<body>
    <div class="container">
        <header>
            <h1>老年人健康档案服务平台</h1>
            <div class="user-actions">
                <form action="{{ url_for('logout') }}" method="GET" style="display: inline;">
                    <button type="submit"><i class="ri-logout-box-line"></i>退出登录</button>
                </form>
            </div>
        </header>

        <main class="dashboard">
            <div class="module-grid">
                <a href="{{ url_for('elderly_management') }}" class="module-card">
                    <i class="ri-folder-user-line"></i>
                    <h2>档案管理</h2>
                    <p>管理老年人基本信息档案</p>
                </a>
                <a href="{{ url_for('health_record') }}" class="module-card">
                    <i class="ri-heart-pulse-line"></i>
                    <h2>健康记录</h2>
                    <p>记录和查看健康监测数据</p>
                </a>
                <a href="{{ url_for('health_advice') }}" class="module-card">
                    <i class="ri-message-3-line"></i>
                    <h2>健康建议</h2>
                    <p>查看个性化健康建议</p>
                </a>
            </div>
        </main>
    </div>
</body>
</html> 